import React from 'react';
import { Link as UmiLink } from 'umi';
import styles from './index.less';

export default function Link({ children, ...rest }) {
    return (
        <UmiLink {...rest} className={styles.wrap}>
            {children}
        </UmiLink>
    );
}
